import request from "@/utils/request";
export interface IAdmin{
    adminname: string
    password: string
}
export const loginReq = (data: IAdmin) => {
    return request({
      url: '/admin/login',
      method: 'POST',
      data
    })
}